<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/page/share/taglib.jsp"%>
<html>
<head>
<title>游戏积分排名管理</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="/css/vip.css" type="text/css">
<script language=JavaScript src="/js/FoshanRen.js"></script>
</head>

<script type="text/javascript">
	function toPage(page) {
		var form = document.forms[0];
		form.page.value = page;
		form.submit();
	}
</script>
<br>
<h1 align="center">所有积分</h1>
<body bgcolor="#FFFFFF" text="#000000" marginwidth="0" marginheight="0">
	<html:form action="/admin/gamerank" method="post">
		<html:hidden property="page" />
		<input type="hidden" name="method" value="list">
		<table width="98%" border="0" cellspacing="1" cellpadding="2"
			align="center">
			<tr>
				<td colspan="13" bgcolor="6f8ac4" align="right"><%@ include
						file="/WEB-INF/page/share/fenye.jsp"%></td>
			</tr>
			<!-------------- title -------------->
			<tr bgcolor="6f8ac4">
				<td width="3%" nowrap>
					<div align="center">
						<font color="#FFFFFF">修改</font>
					</div>
				</td>
				<td width="3%" nowrap>
					<div align="center">
						<font color="#FFFFFF">删除</font>
					</div>
				</td>
				<td width="5%">
					<div align="center">
						<font color="#FFFFFF">ID</font>
					</div>
				</td>
				<td width="7%">
					<div align="center">
						<font color="#FFFFFF">游戏名称</font>
					</div>
				</td>
				<td width="7%">
					<div align="center">
						<font color="#FFFFFF">用户名</font>
					</div>
				</td>
				<td width="8%">
					<div align="center">
						<font color="#FFFFFF">积分</font>
					</div>
				</td>
				<td width="7%">
					<div align="center">
						<font color="#FFFFFF">设备ID</font>
					</div>
				</td>
				<td width="10%">
					<div align="center">
						<font color="#FFFFFF">软件版本</font>
					</div>
				</td>
				<td width="8%">
					<div align="center">
						<font color="#FFFFFF">电话号码</font>
					</div>
				</td>
				<td width="7%">
					<div align="center">
						<font color="#FFFFFF">提交次数</font>
					</div>
				</td>
				<td width="7%">
					<div align="center">
						<font color="#FFFFFF">游玩次数</font>
					</div>
				</td>
				<td width="10%">
					<div align="center">
						<font color="#FFFFFF">请求IP</font>
					</div>
				</td>
				<td width="15%">
					<div align="center">
						<font color="#FFFFFF">最后提交日期</font>
					</div>
				</td>
			</tr>
			<!----------- content (loop start) ------------>
			<c:forEach items="${pageView.records}" var="entry">
				<tr>
					<td bgcolor="f5f5f5">
						<div align="center">
							<a
								href='<html:rewrite action="/admin/gamerank"/>?method=editScoreUI&id=${entry.id}'><img
								src="/images/edit.gif" width="15" height="16" border="0"></a>
						</div>
					</td>
					<td bgcolor="f5f5f5">
						<div align="center">
							<a
								href='<html:rewrite action="/admin/gamerank"/>?method=delScore&id=${entry.id}'><img
								src="/images/del.gif" width="15" height="16" border="0"></a>
						</div>
					</td>
					
					<td bgcolor="f5f5f5">${entry.id}</td>
					<td bgcolor="f5f5f5">${entry.gameName}</td>
					<td bgcolor="f5f5f5">${entry.userName}</td>
					<td bgcolor="f5f5f5">${entry.gameScore}</td>
					<td bgcolor="f5f5f5">${entry.deviceId}</td>
					<td bgcolor="f5f5f5">${entry.deviceSoftVersion}</td>
					<td bgcolor="f5f5f5">${entry.phoneNumber}</td>
					<td bgcolor="f5f5f5">${entry.count}</td>
					<td bgcolor="f5f5f5">${entry.playCount}</td>
					<td bgcolor="f5f5f5">${entry.requestIP}</td>
					<td bgcolor="f5f5f5">${entry.date}</td>
				</tr>
			</c:forEach>
			<!----------- content (loop end) ------------>
			<tr>
				<td colspan="13" bgcolor="6f8ac4" align="right"><%@ include
						file="/WEB-INF/page/share/fenye.jsp"%></td>
			</tr>

			<tr>
				<td bgcolor="f5f5f5" colspan="6" align="center">
					<table width="100%" border="0" cellspacing="1" cellpadding="3">
						<tr>
							<td width="5%"></td>
							<td width="85%"></td>
							<input name="AddDic" type="button" class="frm_btn" id="AddDic"
								onClick="javascript:window.location.href='<html:rewrite action="/admin/gamerank"/>?method=addScoreUI'"
								value="添加排名" /> &nbsp;&nbsp;
							<input name="query" type="button" class="frm_btn" id="query"
								onClick="javascript:window.location.href='<html:rewrite action="/admin/gamerank"/>?method=queryMyScoreUI'"
								value=" 排名查 询 " /> &nbsp;&nbsp;
							<input name="query" type="button" class="frm_btn" id="query"
								onClick="javascript:window.location.href='/gamerank'"
								value=" 返回首页 " />
						</tr>
					</table>
				</td>
			</tr>
		</table>
	</html:form>
</body>
</html>